package com.speedy.course.db.entity

import android.os.Parcelable
import androidx.room.Entity
import androidx.room.PrimaryKey
import kotlinx.parcelize.Parcelize

@Parcelize
@Entity(tableName = "task")
class Task(
    var title:String? = null,
    var content:String? = null,
    var date:Long? = System.currentTimeMillis(),
    var type:Int? = 0,
    @PrimaryKey(autoGenerate = true)
    var id:Int = 0,
): Parcelable